<!--
 * @Descripttion: 今日劳动力作业概况
 * @version: 
 * @Author: ada.wu
 * @Date: 2025-06-25 23:48:14
 * @LastEditors: ada.wu
 * @LastEditTime: 2025-07-02 17:00:33
-->
<!-- css/amap.css -->

<head>
    <link rel="stylesheet" href="/assets/css/amap.css" media="all">
</head>
<style>
    .layui-card-header {
        border-bottom: none;
    }

    .layui-card.selected {
        background-color: var(--primary-hover-color) !important;
    }

    .layui-card.selected.solid::after {
        border-color: var(--primary-color) !important;
        ;

    }

    #grid-card {
        height: calc(100vh - 425px);
    }

    .total-map {
        height: calc(100vh - 355px);
    }
</style>
<div class="layuimini-page-anim">
    <div class="layui-bg-white">
        <div class="p-5">
            <div class="solid ">
                <div class="layui-row">
                    <div class="layui-col-md8 p-4">
                        <div class="layui-row mb-5">
                            <div class="layui-col-xs12 mt-3">
                                <label class="layui-font-gray">类型：</label>
                                <span class="layui-font-black">周期性计划</span>
                            </div>
                            <div class="layui-col-xs12 mt-3">
                                <label class="layui-font-gray">计划编号：</label>
                                <span class="layui-font-black">20250301000014</span>
                            </div>
                            <div class="layui-col-xs12 mt-3">
                                <label class="layui-font-gray">业务类型：</label>
                                <span class="layui-font-black">秩序环境（海淀）</span>
                            </div>
                            <div class="layui-col-xs12 mt-3">
                                <label class="layui-font-gray">作业周期：</label>
                                <span class="layui-font-black">2025-03-02 至 2025-03-02</span>
                            </div>
                            <div class="layui-col-xs12 mt-3">
                                <label class="layui-font-gray">执行人：</label>
                                <span class="layui-font-black">董志俭</span>
                                <span class="layui-font-gray layui-font-12">（秩序环境（海淀））</span>
                            </div>

                        </div>
                        <b class="m-4">每日作业任务（6）</b>
                        <div class="y-scroll" id="grid-card">


                        </div>


                    </div>
                    <div class="layui-col-md4 solid-left">
                        <div class="layui-form layuimini-form">
                            <div class="layui-form-item">
                                <label class="layui-form-label required">用户名</label>
                                <div class="layui-input-block">
                                    <input type="text" name="username" lay-verify="required" lay-reqtext="用户名不能为空"
                                        placeholder="请输入用户名" value="" class="layui-input">
                                    <tip>填写自己管理账号的名称。</tip>
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label required">性别</label>
                                <div class="layui-input-block">
                                    <input type="radio" name="sex" value="男" title="男" checked="">
                                    <input type="radio" name="sex" value="女" title="女">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label required">手机</label>
                                <div class="layui-input-block">
                                    <input type="number" name="phone" lay-verify="required" lay-reqtext="手机不能为空"
                                        placeholder="请输入手机" value="" class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">邮箱</label>
                                <div class="layui-input-block">
                                    <input type="email" name="email" placeholder="请输入邮箱" value="" class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">职业</label>
                                <div class="layui-input-block">
                                    <input type="text" name="work" placeholder="请输入职业" value="" class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item layui-form-text">
                                <label class="layui-form-label">备注信息</label>
                                <div class="layui-input-block">
                                    <textarea name="remark" class="layui-textarea" placeholder="请输入备注信息"></textarea>
                                </div>
                            </div>

                            <div class="layui-form-item">
                                <div class="layui-input-block">
                                    <button class="layui-btn layui-btn-normal" lay-submit
                                        lay-filter="saveBtn">确认保存</button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>



        </div>
    </div>
</div>

<script>



    layui.use(['form', 'miniPage', 'miniAMap'], function () {
        var $ = layui.$,
            element = layui.element,
            layer = layui.layer,
            form = layui.form,
            util = layui.util;
        /**
         * 初始化表单，要加上，不然刷新部分组件可能会不加载
         */
        form.render();

        // 当前弹出层，防止ID被覆盖
        var parentIndex = layer.index;

        //监听提交
        form.on('submit(saveBtn)', function (data) {
            var index = layer.alert(JSON.stringify(data.field), {
                title: '最终的提交信息'
            }, function () {

                // 关闭弹出层
                layer.close(index);
                layer.close(parentIndex);

            });


            return false;
        });



    })
</script>